<?php

namespace App\Controller;

use Hyperf\HttpServer\Annotation\RequestMapping;
use Hyperf\HttpServer\Annotation\Controller;
use App\Service\Home\ResetScoreService;

/**
 * @Controller(prefix="home/page")
 */
class HomeController extends AbstractController
{
    /**
     * 重置
     * @RequestMapping(path="reset", methods="post")
     */
    public function resetRecommendedScore(ResetScoreService $service)
    {
        return $service->response();
    }
}